package com.xing.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xing.DTO.UserRoleSaveDTO;
import com.xing.Utils.Result;
import com.xing.entity.SysRoleEntity;
import com.xing.entity.SysUserRoleEntity;

import java.util.List;

public interface SysUserRoleService extends IService<SysUserRoleEntity> {

    Result saveUserRoleRelation(UserRoleSaveDTO userRoleSaveDTO);

    List<Long> getRoleIdByUserId(Long userId);
}
